-- card: 127380 from stack: in -- bmap block id: 127763 -- flags: 0000 -- background id: 2665 -- name: -- part 1 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=263 top=60 right=80 bottom=342 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 128 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: one -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=263 top=88 right=108 bottom=342 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 128 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: two -- part 3 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=262 top=197 right=217 bottom=319 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 128 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: three -- part 4 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=348 top=197 right=218 bottom=404 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 128 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: four -- part 5 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=433 top=197 right=218 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 128 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: five -- part 6 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=335 top=300 right=322 bottom=435 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: RESET ----- HyperTalk script ----- on mouseUp delete line 1 of card field one delete line 1 of card field two delete line 1 of card field three delete line 1 of card field four delete line 1 of card field five get the location of card field one click at it end mouseUp -- part 7 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=334 top=252 right=274 bottom=434 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: CALCULATE ----- HyperTalk script ----- on mouseUp global bag set numberFormat to "00.0000" put the value of (card field one/card field two) into card field four put the value of 1.96 * sqrt(((card field four) * (1-card field four)) / card field two) into bag put the value of card field four - bag into card field three put the value of card field four + bag into card field five end mouseUp -- part contents for background part 8 ----- text ----- 41 -- part contents for background part 2 ----- text ----- Simply enter the number of individuals in your sample along with the number displaying a desired phenotype. Click on the calculate button and you will get the confidence limits for your value which is the numerical span between which the true mean of your sample falls with a better than 95% accuracy.